package com.merry.gulimail.member.feign;

import com.merry.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

//在nacos中注册的服务名
/**
 * 这是一个远程调用
 */
@FeignClient("guli-coupon")
public interface CouponFeignService {

    //需要调用的uri
    @RequestMapping("/coupon/coupon/member/list")
    public R getMemberCoupons();
}
